package com.yonyou.pmclouds.messagenotice.rmiitf;

import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.messagenotice.entity.MessageNoticeVO;

public interface MessageNoticeQuery {

    PageObject<MessageNoticeVO> getNoticesByUser(String tenantId, String userId, int pageStart, int pageSize) throws BusinessException;

    Boolean hasUnreadNotice(String user) throws BusinessException;

    int countUnreadNotice(String user) throws BusinessException;
}
